<div class="n_head_menu">
            <ul class="n_h_m_ul">
                <li><a href="<?php echo $this->createUrl('site/index'); ?>" class="col3fa">美味浏览</a><span class="n_h_m_active"></span></li>
                
                <!--<?php if (Yii::app()->user->isGuest): ?>
                    <a href="<?php echo $this->createUrl('site/login'); ?>"><span class="reg_log_ico cmicons z"></span>登录</a>
                    <span class="pipe">|</span>
                    <a href="<?php echo $this->createUrl('site/register'); ?>">注册</a>
                <?php else: ?>
                    <a href="<?php echo $this->createUrl('site/index'); ?>">首页</a>
                    <span class="pipe">|</span>
                    <?php echo Yii::app()->user->name; ?>
                    <span class="pipe">|</span>
                    <a href="<?php echo $this->createUrl('order/confirmation'); ?>">购物车</a>
                    <span class="pipe">|</span>
                    <a href="<?php echo $this->createUrl('home/index'); ?>">订单</a>
                    <span class="pipe">|</span>
                    <a href="<?php echo $this->createUrl('home/coupons'); ?>">红包</a>
                    <span class="pipe">|</span>
                    <a href="<?php echo $this->createUrl('home/index'); ?>">账号管理</a>
                    <span class="pipe">|</span>
                    <a href="<?php echo $this->createUrl("site/logout") ?>">退出</a>
                <?php endif; ?>-->
               
                <?php if (Yii::app()->user->isGuest): ?>
                    <li><a href="<?php echo $this->createUrl('site/login'); ?>" class="col8 ">购物车<span class="n_h_m_numhui cart-amound">0</span></a><li>
                    <li><a href="<?php echo $this->createUrl('site/login'); ?>" class="col8">登录</a><li>
                    <li><a href="<?php echo $this->createUrl('site/register'); ?>" class="col8">注册</a><li>
                <?php else: ?>
                    <li><a href="<?php echo $this->createUrl('order/confirmation'); ?>" class="col8 ">购物车<span class="n_h_m_numhui cart-amound">0</span></a><li>
                    <li><a href="<?php echo $this->createUrl('home/index'); ?>" class="col8">我的订单<!-- <span class="n_h_m_numhong">0</span> --></a><li>
                    <li><a href="<?php echo $this->createUrl('home/index'); ?>" class="col8">个人中心</a><li>
                    <li  class="n_h_m_li_more">
                        <a href="#" class="col8 n_h_m_more">更多</a>
                        <div class="n_h_m_mores">
                            <a href="<?php echo $this->createUrl('home/coupons'); ?>">我的红包</a>
                            <a href="<?php echo $this->createUrl('home/index'); ?>">账号管理</a>
                            <a href="<?php echo $this->createUrl("site/logout") ?>">退出登录</a>
                        </div>
                    <li>
                    
                <?php endif; ?>
                
            </ul>
            <div class="n_ll_box">
                <?php
                $this->widget('zii.widgets.CMenu', array(
                    'items' => array(
                        array('label' => '<p class="n_h_mr"></p><span>每日推荐</span>', 'url' => array('site/index'), 'active' => $this->action->id == 'index'),
                        array('label' => '<p class="n_h_bl"></p><span>白领组合</span>', 'url' => array('channel/take'), 'active' => $this->action->id == 'take'),
                        array('label' => '<p class="n_h_mw"></p><span>美味小食</span>', 'url' => array('channel/snack'), 'active' => $this->action->id == 'snack'),
                        array('label' => '<p class="n_h_bf"></p><span>缤纷酷饮</span>', 'url' => array('channel/drink'), 'active' => $this->action->id == 'drink'),
                        array('label' => '<p class="n_h_sl"></p><span>沙拉果园</span>', 'url' => array('channel/fruit'), 'active' => $this->action->id == 'fruit'),
                        array('label' => '<p class="n_h_jc"></p><span>精彩活动</span>', 'url' => array('#'), 'active' => $this->action->id == '#'),

                    ),
                    'htmlOptions'=>array(
                      'class'=>'n_h_m_ll_ul'  
                    ),
                    'activeCssClass' => 'n_h_active',
                    'encodeLabel'=>false
                ));
                ?>
                <!--ul class="n_h_m_ll_ul">
                    <li class="n_h_active">
                        <a href="/">
                            <p class="n_h_mr"></p>
                            <span>每日推荐</span>
                        </a>
                    </li>
                    <li>
                        <a href="/take">
                            <p class="n_h_bl"></p>
                            <span>白领组合</span>
                        </a>
                    </li>
                    <li>
                        <a href="/snack">
                            <p class="n_h_mw"></p>
                            <span>美味小食</span>
                        </a>
                    </li>
                    <li>
                        <a href="/drink">
                            <p class="n_h_bf"></p>
                            <span>缤纷酷饮</span>
                        </a>
                    </li>
                    <li>
                        <a href="/fruit">
                            <p class="n_h_sl"></p>
                            <span>沙拉果园</span>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <p class="n_h_jc"></p>
                            <span>精彩活动</span>
                        </a>
                    </li>
                </ul-->
            </div>          
        </div>